Automattic\Jetpack\Waf\Waf_Runtime C

Total Complexity 123
Dependencies 7
Dependents 1
Total lines 701
Lines of code 381
Logical lines of code 251
Comment lines 254
Methods 22
Properties 12

Methods 22

Method Rating Maintainability Complexity Lines of code
normalize_targets()
C
37 28 67
meta()
C
36 24 80
normalize_array_target()
A
47 10 35
update_targets()
A
51 10 28
match_targets()
A
47 8 35
is_ip_in_array()
S
56 6 17
block()
S
57 5 15
key_matches()
S
61 5 12
rule_removed()
S
63 4 11
flag_target_for_removal()
S
63 4 10
state_values()
S
63 3 10
__construct()
S
69 2 7
dec_var()
S
70 2 6
inc_var()
S
70 2 6
get_var()
S
73 2 5
flag_rule_for_removal()
S
69 2 7
unset_var()
S
80 1 3
normalize_header_name()
S
78 1 3
set_var()
S
80 1 3
args_names()
S
67 1 9
redirect()
S
72 1 5
sanitize_output()
S
65 1 7